//
//  NSObject+Extension.h
//  RunTime
//
//  Created by zhang_rongwu on 16/3/3.
//  Copyright © 2016年 zhang_rongwu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (Extension)
/** 交换2个类方法*/
+ (void)swizzleClassMethod:(Class)class1 originSelector:(SEL)originSelector otherSelector:(SEL)otherSelector;
/** 交换2个实例方法*/
+ (void)swizzleInstanceMethod:(Class)class1 originSelector:(SEL)originSelector otherSelector:(SEL)otherSelector;

+ (void)swizzleMethod:(SEL)originalSelector swizzledSelector:(SEL)swizzledSelector;
@end
